package picture2013.p11_16;

public class Plus extends Figure {

    private int size;
    private char c;

    public Plus(int size, char c) {
        this.size = size;
        this.c = c;
    }

    public void draw(Picture picture, int x0, int y0) {
        picture.drawHorizontalLine(x0 - size, y0, 2 * size + 1, c);
        picture.drawVerticalLine(x0, y0 - size, 2 * size + 1, c);
    }
}
